import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadPoolExecutor;
class Point{
}
class PointFactory{
//    Executors executor=new Executors() {
//        @Override
//        public void execute(Runnable command) {
//
//        }
//    }
    public static Point point1(double x,double y){
        Point point=new Point();
        return point;
    }
    public static Point point2(double m,double n){
        Point point=new Point();
        return point;
    }
}

public class demo38 {
    public static void main(String[] args) {
        Point p1=PointFactory.point1(10.0,20.0);
        Point p2=PointFactory.point2(30.0,40.0);

    }
}
